#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<string.h>
void Reve(char* p,int n)
{
	p = p + n-1;
	for (int i = 0; i < n; i++)
	{
		printf("%c", *p);
		p--;
	}
}
int main()
{
	char arr[] = { "abcdefg" };
	char* p = arr;
	for (int i = 0; i < strlen(arr); i++)
	{
		printf("%c", *p);
		p++;
	}
	printf("\n");
	Reve(arr, strlen(arr));
}